package com.dayu.tcp.common.compress;

import lombok.Getter;

public class InvalidCompression implements Compression {

    private InvalidCompression() {
    }

    @Getter
    private static final InvalidCompression instance = new InvalidCompression();

    @Override
    public byte[] compress(byte[] src) {
        return src;
    }

    @Override
    public byte[] decompress(byte[] src) {
        return src;
    }
}
